//
//  ThirdTableViewCell.m
//  集金金融
//
//  Created by 李东晓 on 15/11/30.
//  Copyright © 2015年 李东晓. All rights reserved.
//

#import "ThirdTableViewCell.h"

@interface ThirdTableViewCell ()

@property (weak, nonatomic) IBOutlet UILabel *lab;

@property (strong, nonatomic) IBOutlet UILabel *LabelText;

@end

@implementation ThirdTableViewCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _LabelTitle = [[UILabel alloc]initWithFrame:CGRectMake(123, 18, 180, 15)];
        
        [_LabelTitle setBackgroundColor:[UIColor whiteColor]];
        
        [_LabelTitle setText:@"双十一优惠活动"];
        
        [_LabelTitle setFont:[UIFont boldSystemFontOfSize:15]];
        
        [self addSubview:_LabelTitle];
        
        _LabelDetails = [[UILabel alloc]initWithFrame:CGRectMake(123, 45, 204*D_width, 34)];
        
        [_LabelDetails setBackgroundColor:[UIColor whiteColor]];
        
        [_LabelDetails setTextColor:RGBAColor(100, 100, 100, 1)];
        
        [_LabelDetails setNumberOfLines:0];
        [_LabelDetails setText:@"如果你无法简洁的表达你的想法，那只说明你还不够了解它。"];
        
        [_LabelDetails setFont:[UIFont systemFontOfSize:12]];
        
        [self addSubview:_LabelDetails];
        
        _ImageShow = [[UIImageView alloc]initWithFrame:CGRectMake(14, 16, 95, 70)];
        
        [_ImageShow setImage:[UIImage imageNamed:@"ac_img_03"]];
        
        [self addSubview:_ImageShow];
        
        UIImageView * ImageTU = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"jt_07"]];
        
        [ImageTU setFrame:CGRectMake(348*D_width, 39, 14, 24)];
        
        [self addSubview:ImageTU];
        
        
        
    }
    return self;
}





- (void)awakeFromNib {
    // Initialization code

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
